home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
- <stack>
- <name>in</name>
- <id>-1</id>
- <cardCount>1</cardCount>
- <cardID>4001</cardID>
- <listID>2062</listID>
- <cantModify><false /></cantModify>
- <cantDelete><false /></cantDelete>
- <cantAbort><false /></cantAbort>
- <cardSize>
- <width>512</width>
- <height>342</height>
- </cardSize>
- <script>on NewCard
- global lastinv
- add 1 to lastinv
- put lastinv into bg field invno
- put char 5 to 18 of the abbrev date into bg field date
- end NewCard
- on OpenStack
-
- global lastinv
- go to last card
- create menu "control"
- put "new invoice,information,main menu,create invoice" into menu "control" with ¬
- menumsg "newinv,doInfo,doMain,doinv"
- put bg field invno into lastinv
-
- end OpenStack
- on newinv
- doMenu "New Card"
- end newinv
- on doInfo
- lock screen
- show bg field "info"
- unlock screen with iris open
- wait until the mouseclick
- lock screen
- hide bg field "info"
- unlock screen with iris close
- end doInfo
- on doMain
- go to stack "inv_application"
- end doMain
- on CloseStack
- reset menubar
- end CloseStack
-
- on doinv
- global s1,s2,s3,s4,s5
- global q1,q2,q3,q4,q5
- global d1,d2,d3,d4,d5
- global r1,r2,r3,r4,r5
- global invflg
- global ipjnm,ipjno
- global icust,idate,ino
- global itl,iadd,icty,iprov,icode
- put "yes" into invflg
- put bg field serv1 into s1
- put bg field serv2 into s2
- put bg field serv3 into s3
- put bg field serv4 into s4
- put bg field serv5 into s5
- put bg field iq1 into q1
- put bg field iq2 into q2
- put bg field iq3 into q3
- put bg field iq4 into q4
- put bg field iq5 into q5
- put bg field projnm into ipjnm
- put bg field projno into ipjno
- put bg field custno into icust
- put bg field date into idate
- put bg field invno into ino
- go to stack "customers"
- end doinv</script>
- <background id="2646" file="background_2646.xml" name="" />
- <card id="4001" file="card_4001.xml" marked="false" name="" owner="2646" />
- </stack>
-